import { reactive } from 'vue';

export default reactive({
    provideglobal: {
        data: {
            sys: null,
            config: {
                theme: 'theme-light',
                lang: '',
                langcur: '',
            },
            theme: '',
            stat: { webclient: 0, web: 0, cocontrol: 0 },
            user: {
                info: null,
                online: 0,
            },
            code: { pri: null, pub: null, token: '' },
            location: {},
            pop: {},
            url: {},
            module: { value: '', label: '' },
            keyboard: { areastyle: {}, opt: {}, isshow: 0 },
        },
    },
});
